package com.geeksaga.dao;

import java.util.List;
import java.util.Map;


import org.springframework.dao.DataAccessException;

import com.geeksaga.domain.Bbs;
import com.geeksaga.domain.BbsHistory;

/**
 * @author newbie
 * @since 0.1
 */
public interface BbsHistoryDao {
    
	/**
	 * @param bbs
	 * @return
	 * @throws DataAccessException
	 */
	public Bbs add(Bbs bbs) throws DataAccessException;
	
	/**
	 * @param parameter
	 * @return
	 * @throws DataAccessException
	 */
	public List<BbsHistory> findList(Map<String, Object> parameter) throws DataAccessException;
	
	/**
	 * @param bbsHistory
	 * @return
	 * @throws DataAccessException
	 */
	public BbsHistory find(BbsHistory bbsHistory) throws DataAccessException;
}